package cn.btks.resultintegration.catalog.repository;

import cn.btks.resultintegration.catalog.pojo.FileCatalog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author lijun
 * @Date 2020/12/14 17:16
 */
@Repository
public interface FileCatalogRepository extends JpaRepository<FileCatalog,Long> {
    /**
     * 根据上级目录ID查询目录
     * @param upLevelId
     * @return
     */
    List<FileCatalog> findAllByUpLevelId(Long upLevelId);
}
